﻿using System;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;

namespace MqttBased
{
    public class MqttSettingConfig
    {
        public string ServiceAddress { get; set; }
        public int  Port { get; set; }
        public string SslPassword { get; set; }

        public MqttSettingConfig CreateDefaultSetting()
        {
            this.ServiceAddress = "39.108.153.21";
            this.Port = 8883;//mqtt默认端口，可修改
            this.SslPassword = "rht@123456";
            return this;
        }
    }
}
